﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QMERP.Domain.Dtos
{
    public partial class SalesProcessResponse
    {
        public long Id { get; set; }
        /// <summary>
        /// 工序代码
        /// </summary>
        public string Code { get; set; } = "";
        /// <summary>
        /// 工序名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 销售工序代码
        /// </summary>
        public string SalesCode { get; set; } = "";
        /// <summary>
        /// 销售工序名称
        /// </summary>
        public string SalesName { get; set; } = "";
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 成本
        /// </summary>
        public decimal Cost { get; set; }
        /// <summary>
        /// 车房可用
        /// </summary>
        public bool IsCFUsable { get; set; }
        /// <summary>
        /// 库存可用
        /// </summary>
        public bool IsKCUsable { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        public bool IsEnable { get; set; }
        public long CreatedBy { get; set; }
        public string CreatedByName { get; set; } = "";
        public DateTime CreatedOn { get; set; } = DateTime.Now;
        public long? UpdatedBy { get; set; }
        public string? UpdatedByName { get; set; }
        public DateTime? UpdatedOn { get; set; }
    }
}
